﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using PetaPoco;

namespace DbHelper
{
    public class MyDbHelper
    {
        Database MyDB = new Database("conn");
        public void getData()
        {
            var query = MyDB.Query<object>(" SELECT * FROM Customers ");
            List<object> list = query.ToList<object>();
        }
    }
}
